<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="cw" uri="/widget-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<c:url value="/workspace/getDic.action" var="DIC_ACTION_URL"/>
<script type="text/javascript" src="${pageContext.request.contextPath}/resource/scripts/paywayValidate.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resource/scripts/utils.js"></script>	
		<script type="text/javascript" src="<s:url value='/resource/scripts/formUtils.js'/>"></script>
<script type="text/javascript">	 	
		var loadFlag=true;//为下面loadLinkage的方法做单独处理
		
</script>
<style>
<!--
	.required{
		color: red;
	}
-->
</style>

<div id="payway_fields">
<cw:text property="socialDeliverInfoVO.aaz099" id="payway_aaz099" type="hidden" />
<cw:text property="socialDeliverInfoVO.aaz097" id="payway_aaz097" type="hidden" />
<cw:text property="socialDeliverInfoVO.aaz257" id="payway_aaz257" type="hidden" />
<cw:text property="socialDeliverInfoVO.aac001" id="payway_aac001" type="hidden" />
<cw:text property="socialDeliverInfoVO.aaz003" id="payway_aaz003" type="hidden" />
<cw:text property="socialDeliverInfoVO.aaz009" id="payway_aaz009" type="hidden" />

<table width="100%" border="0" >
	<COLGROUP>
		<COL width='10%' align="left">
		<COL width='23%' align="left">
		<COL width='10%' align="left">
		<COL width='23%' align="left">
		<COL width='10%' align="left">
		<COL width='23%' align="left">
	</COLGROUP>
	<tr height="23">
		<td nowrap="nowrap">
		   <span class="required">*</span>结算方式:
		</td>
		<td>
			<cw:combobox property="socialDeliverInfoVO.aaa079" id="payway_aaa079" required="true" label="结算方式"
				 editable="false" emptyText="请选择..." data="[['',''],[1,'结算方式1'],[2,'结算方式2']]"></cw:combobox>
		</td>
		<td nowrap="nowrap">
			<span class="required">*</span>发放渠道:
		</td>
		<td>
			<cw:combobox property="socialDeliverInfoVO.aae145" id="payway_aae145" required="true" label="发放渠道"
				 data="[[''],['11','委托银行卡折发放'],['21','银行支付现金'],['31','单位代发（转账）'],['41','直接对机构拨付（转账）'],['71','电汇'],['12','委托邮寄发放'],['61','POS机支付'],['62','现金支票'],['63','银行转账']]" listeners="{'select':function(t,nv,ov){select_aae145(t,nv,ov);}}" emptyText="请选择..."></cw:combobox>
		</td>
		<td> 
			<cw:text property="socialDeliverInfoVO.aae147" id="payway_aae147" type="hidden"/>
		</td> 
	</tr>

	<tr height="23">
		<td nowrap="nowrap">
			联系地址:
		</td>
		<td>
			<cw:text property="socialDeliverInfoVO.aae006" id="payway_aae006"/>
		</td>
		<td nowrap="nowrap">
			 邮编:
		</td>
		<td>
			<cw:text property="socialDeliverInfoVO.aae007" id="payway_aae007" regex="/^[0-9]\d{5}$/" regexText="输入的邮政编码格式不正确：邮政编码格式应为6位数字"/>
		</td>
		<td nowrap="nowrap">
			 联系电话:
		</td>
		<td>
			<cw:text property="socialDeliverInfoVO.aae005" id="payway_aae005" 
			regex="/^(\d{8}|0+(10|2+[0-5|7-9]|[3-9]+\d{2}|0852|0853|0886)-\d{8}|1+\d{10})(,(\d{8}|0+(10|2+[0-5|7-9]|[3-9]+\d{2}|0852|0853|0886)-\d{8}|1+\d{10}))*$/" 
			regexText="输入的电话格式应为：13589346720,0541-53867320,53867320"/>
		</td>
	</tr>
	<tr>
		<td nowrap="nowrap">
			 备注:
		</td>
		<td colspan="5">
			<cw:textArea property="socialDeliverInfoVO.aae013" id="payway_aae013" width="500" height="40"></cw:textArea>
		</td>		
	</tr>
</table>
</div>

<cw:fieldSet id="payway2" content="payway_fields2" title="个人账号信息" collapsed="true" checkboxToggle="false" collapsible="true" ></cw:fieldSet>
<cw:fieldSet id="payway1" content="payway_fields1" title="银行发放信息" collapsed="true" checkboxToggle="false" collapsible="true" ></cw:fieldSet>
<cw:fieldSet id="payway3" content="payway_fields3" title="代发机构信息" collapsed="true" checkboxToggle="false" collapsible="true" ></cw:fieldSet>
<cw:fieldSet id="payway4" content="payway_fields4" title="领取人员信息" collapsed="true" checkboxToggle="false" collapsible="true" ></cw:fieldSet>

<div id="payway_fields2">
<table width="100%" border="0" >
	<COLGROUP>
		<COL width='10%' align="right">
		<COL width='23%' align="left">
		<COL width='10%' align="right">
		<COL width='23%' align="left">
		<COL width='10%' align="right">
		<COL width='24%' align="left">
	</COLGROUP>
	<tr>
		<td nowrap="nowrap">
			<span class="required">*</span>个人账号选择模式:
		</td>
		<td>
			<cw:combobox id="payway_aaa126" property="socialDeliverInfoVO.aaa126" data="[['',''],[1,'模式1'],[2,'模式2']]" 
			 	label="个人账号选择模式" listeners="{'select':function(t,nv,ov){select_aaa126(t,nv,ov);}}" emptyText="请选择..."/>
		</td>
		<td nowrap="nowrap">

		</td>
		<td>

		</td>
		<td nowrap="nowrap">

		</td>
		<td>

		</td>
	</tr>
</table>


<cw:grid url="${pageContext.request.contextPath}/i1/f30120301/partyBankAccQuery.action" forceFit="false"
	 autoLoad="false" height="0" id="payway_psnlaccountgrid" exportable="false" stripeRows="true" 
	 stripleColor="#C0D9D9" enablePage="false" selectMode="radio" title="个人留存账户信息列表">
	<cw:indexColumn width="60"></cw:indexColumn>				
	<cw:gridColumn property="aaz003" width="0" title="" hidden="true"></cw:gridColumn>
	<cw:gridColumn property="bae118" width="10%" title="银行名称" align="center"></cw:gridColumn>
	<cw:gridColumn property="aae009" width="10%" title="户名" align="center"></cw:gridColumn>		
	<cw:gridColumn property="aae010" width="10%" title="账号" align="center"></cw:gridColumn>
	<cw:gridColumn property="bab007" width="10%" title="开户银行" align="center"></cw:gridColumn>
	<cw:gridColumn property="bae119" width="10%" title="行号" align="center"></cw:gridColumn>		
	<cw:gridColumn property="fhj1" width="10%" title="省/直辖市/自治区名" align="center"></cw:gridColumn>
	<cw:gridColumn property="fhj2" width="10%" title="市/地/州名" align="center"></cw:gridColumn>
	<cw:gridColumn property="aab301" width="10%" title="县/区/旗名" align="center"></cw:gridColumn>
	<cw:gridColumn property="aae036" width="10%" title="账号登记时间" align="center"></cw:gridColumn>
	<cw:gridColumn property="aae140" width="10%"  title="险种类型" align="center"></cw:gridColumn>
	<cw:gridColumn property="aae210" width="15%" title="待遇开始享受年月" align="center"></cw:gridColumn>
</cw:grid>

</div>

<div id="payway_fields1">
<table width="100%" border="0" >
	<COLGROUP>
		<COL width='8%' align="right">
		<COL width='17%' align="left">
		<COL width='8%' align="right">
		<COL width='17%' align="left">
		<COL width='8%' align="right">
		<COL width='17%' align="left">
		<COL width='8%' align="right">
		<COL width='17%' align="left">
	</COLGROUP>
	<tr>
		<td nowrap="nowrap">
			收款银行:
		</td>
		<td> 
			<cw:combobox id="payway_bae118" property="socialDeliverInfoVO.bae118" label="发放银行" 
									data="[['',''],['1','银行1'],['2','银行2']]"/>
		</td>
	</tr>
</table>
</div>

<div id="payway_fields3">
<table width="100%" border="0" >
	<COLGROUP>
		<COL width='10%' align="right">
		<COL width='23%' align="left">
		<COL width='10%' align="right">
		<COL width='23%' align="left">
		<COL width='10%' align="right">
		<COL width='23%' align="left">
	</COLGROUP>
	<tr  align="left">		
		<td colspan="6" align="left">
			<div id="companySelect">
				<%@ include file="/pages/pub/proxyPayOrgSelect.jsp"%>
			</div> 		
		</td>
	</tr>
	<tr>
		<td nowrap="nowrap" >
			机构代码:
		</td>
		<td nowrap="nowrap" >
			<cw:text property="socialDeliverInfoVO.aab999" id="payway_aab999" readOnly="true"/>
		</td>
		<td nowrap="nowrap" >
			机构名称:
		</td>
		<td nowrap="nowrap">
			 <cw:text property="socialDeliverInfoVO.aae044" id="payway_aae044" readOnly="true"/>
		</td>
		<td nowrap="nowrap">
			机构类型:
		</td>
		<td nowrap="nowrap">
			<cw:combobox property="socialDeliverInfoVO.aab019" readOnly="true" id="payway_aab019"
				data="[['',''],[1,'机构类型1'],[2,'机构类型2']]" />
		</td>	
	</tr>
</table>
<div id="payway_fields3_grid1">
<cw:grid url="#"
	autoLoad="false" height="0" id="payway_corpaccountgrid" forceFit="true"
	exportable="false" stripeRows="true" stripleColor="#C0D9D9" enablePage="false" 
	selectMode="radio" title="机构留存账户信息列表" >
	<cw:indexColumn width="60"></cw:indexColumn>				
	<cw:gridColumn property="aaz003" width="0" hidden="true" align="center"></cw:gridColumn>
	<cw:gridColumn property="bae118" width="100" title="银行名称" align="center"></cw:gridColumn>				
	<cw:gridColumn property="aae010" width="100" title="账号" align="center"></cw:gridColumn>
	<cw:gridColumn property="aae009" width="100" title="户名" align="center"></cw:gridColumn>
	<cw:gridColumn property="bab007" width="100" title="开户银行" align="center"></cw:gridColumn>
</cw:grid>
</div>
</div>

<div id="payway_fields4">
<table width="100%" border="0" >
	<COLGROUP>
		<COL width='10%' align="right">
		<COL width='23%' align="left">
		<COL width='10%' align="right">
		<COL width='23%' align="left">
		<COL width='10%' align="right">
		<COL width='23%' align="left">
	</COLGROUP>
	<tr>
		<td nowrap="nowrap">
			领取人姓名:
		</td>
		<td>
			<cw:text property="socialDeliverInfoVO.aae133" id="payway_aae133"/>
		</td>
		<td nowrap="nowrap">
			领取人联系方式:
		</td>
		<td>
			<cw:text property="socialDeliverInfoVO.bae350" id="payway_bae350"/>
		</td>
		<td nowrap="nowrap">
			 领取人证件号码:
		</td>
		<td>
			<cw:text property="socialDeliverInfoVO.aac059" id="payway_aac059" type="hidden" />
			<cw:text property="socialDeliverInfoVO.aae136" id="payway_aae136"/>
		</td>
	</tr>
</table>
</div>
